.class Lcom/example/m6wmr/SearchActivity$2;
.super Ljava/lang/Object;
.source "SearchActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/m6wmr/SearchActivity;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/m6wmr/SearchActivity;


# direct methods
.method constructor <init>(Lcom/example/m6wmr/SearchActivity;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/m6wmr/SearchActivity$2;->this$0:Lcom/example/m6wmr/SearchActivity;

    .line 116
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 3
    .param p1, "arg0"    # Landroid/view/View;

    .prologue
    .line 120
    invoke-static {}, Lmyapp/Util;->isFastDoubleClick()Z

    move-result v1

    if-eqz v1, :cond_1

    .line 138
    :cond_0
    :goto_0
    return-void

    .line 123
    :cond_1
    iget-object v1, p0, Lcom/example/m6wmr/SearchActivity$2;->this$0:Lcom/example/m6wmr/SearchActivity;

    # getter for: Lcom/example/m6wmr/SearchActivity;->et:Landroid/widget/EditText;
    invoke-static {v1}, Lcom/example/m6wmr/SearchActivity;->access$0(Lcom/example/m6wmr/SearchActivity;)Landroid/widget/EditText;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v1

    invoke-interface {v1}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v1

    const-string v2, ""

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_0

    .line 126
    new-instance v0, Lbean/NotesBean;

    invoke-direct {v0}, Lbean/NotesBean;-><init>()V

    .line 127
    .local v0, "user":Lbean/NotesBean;
    iget-object v1, p0, Lcom/example/m6wmr/SearchActivity$2;->this$0:Lcom/example/m6wmr/SearchActivity;

    # getter for: Lcom/example/m6wmr/SearchActivity;->et:Landroid/widget/EditText;
    invoke-static {v1}, Lcom/example/m6wmr/SearchActivity;->access$0(Lcom/example/m6wmr/SearchActivity;)Landroid/widget/EditText;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v1

    invoke-interface {v1}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lbean/NotesBean;->setConcet(Ljava/lang/String;)V

    .line 128
    iget-object v1, p0, Lcom/example/m6wmr/SearchActivity$2;->this$0:Lcom/example/m6wmr/SearchActivity;

    # getter for: Lcom/example/m6wmr/SearchActivity;->service:Ldbclass/NotesService;
    invoke-static {v1}, Lcom/example/m6wmr/SearchActivity;->access$2(Lcom/example/m6wmr/SearchActivity;)Ldbclass/NotesService;

    move-result-object v1

    invoke-virtual {v1, v0}, Ldbclass/NotesService;->addNote(Lbean/NotesBean;)V

    .line 130
    iget-object v1, p0, Lcom/example/m6wmr/SearchActivity$2;->this$0:Lcom/example/m6wmr/SearchActivity;

    # getter for: Lcom/example/m6wmr/SearchActivity;->ll:Landroid/widget/LinearLayout;
    invoke-static {v1}, Lcom/example/m6wmr/SearchActivity;->access$3(Lcom/example/m6wmr/SearchActivity;)Landroid/widget/LinearLayout;

    move-result-object v1

    const/16 v2, 0x8

    invoke-virtual {v1, v2}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 131
    iget-object v1, p0, Lcom/example/m6wmr/SearchActivity$2;->this$0:Lcom/example/m6wmr/SearchActivity;

    # getter for: Lcom/example/m6wmr/SearchActivity;->sc:Landroid/widget/ScrollView;
    invoke-static {v1}, Lcom/example/m6wmr/SearchActivity;->access$4(Lcom/example/m6wmr/SearchActivity;)Landroid/widget/ScrollView;

    move-result-object v1

    const/4 v2, 0x0

    invoke-virtual {v1, v2}, Landroid/widget/ScrollView;->setVisibility(I)V

    .line 132
    iget-object v1, p0, Lcom/example/m6wmr/SearchActivity$2;->this$0:Lcom/example/m6wmr/SearchActivity;

    iget-object v2, p0, Lcom/example/m6wmr/SearchActivity$2;->this$0:Lcom/example/m6wmr/SearchActivity;

    # getter for: Lcom/example/m6wmr/SearchActivity;->et:Landroid/widget/EditText;
    invoke-static {v2}, Lcom/example/m6wmr/SearchActivity;->access$0(Lcom/example/m6wmr/SearchActivity;)Landroid/widget/EditText;

    move-result-object v2

    invoke-virtual {v2}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v2

    invoke-interface {v2}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2}, Lcom/example/m6wmr/SearchActivity;->access$5(Lcom/example/m6wmr/SearchActivity;Ljava/lang/String;)V

    .line 133
    iget-object v1, p0, Lcom/example/m6wmr/SearchActivity$2;->this$0:Lcom/example/m6wmr/SearchActivity;

    invoke-virtual {v1}, Lcom/example/m6wmr/SearchActivity;->getShopSource()Z

    .line 134
    iget-object v1, p0, Lcom/example/m6wmr/SearchActivity$2;->this$0:Lcom/example/m6wmr/SearchActivity;

    invoke-virtual {v1}, Lcom/example/m6wmr/SearchActivity;->getgood()Z

    goto :goto_0
.end method
